<?php if (!defined('THINK_PATH')) exit(); /*a:6:{s:71:"D:\HttpDoc\sewage\public/../application/company\view\sources\index.html";i:1490862780;s:69:"D:\HttpDoc\sewage\public/../application/company\view\Public\base.html";i:1490694631;s:71:"D:\HttpDoc\sewage\public/../application/company\view\Public\header.html";i:1490953090;s:77:"D:\HttpDoc\sewage\public/../application/company\view\Public\left_sidebar.html";i:1491017098;s:71:"D:\HttpDoc\sewage\public/../application/company\view\Public\footer.html";i:1490598488;s:80:"D:\HttpDoc\sewage\public/../application/company\view\Public\control_sidebar.html";i:1490582072;}*/ ?>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="renderer" content="webkit">
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <meta name="description" content="<?php echo $site_description; ?>">
  <meta name="keywords" content="<?php echo $site_keywords; ?>">
  <title><?php echo $site_title; ?></title>
  <link rel="icon" type="image/x-icon" href="/favicon.ico">
  <link rel="stylesheet" href="__STATIC__/bootstrap/css/bootstrap.min.css">
  <link rel="stylesheet" href="__STATIC__/font-awesome/css/font-awesome.min.css">
  <link rel="stylesheet" href="__STATIC__/dist/css/AdminLTE.min.css">
  <link rel="stylesheet" href="__STATIC__/dist/css/skins/skin-blue.min.css">
  <link rel="stylesheet" href="__STATIC__/dist/css/style.css">
  
  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="__STATIC__/IE8/html5shiv.min.js"></script>
  <script src="__STATIC__/IE8/respond.min.js"></script>
  <![endif]-->
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
  <!-- Main Header -->
  <header class="main-header">
    <!-- Logo -->
    <a href="index2.html" class="logo">
      <span class="logo-mini"><img src="__STATIC__/dist/img/logomini.png" alt="<?php echo $site_name; ?>"/></span>
      <span class="logo-lg"><img src="__STATIC__/dist/img/fontlogo.png" alt="<?php echo $site_name; ?>"/></span>
    </a>
    <!-- Header Navbar -->
    <nav class="navbar navbar-static-top" role="navigation">
      <!-- Sidebar toggle button-->
      <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
        <span class="sr-only">Toggle navigation</span>
      </a>
      <div class="fast-button hidden-xs">
       
        <button type="button" class="btn btn-info"><i class="fa fa-plus"></i>排污数据</button>
   
        <div class="btn-group">
          <button type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i>企业信息</button>
          <ul class="dropdown-menu" role="menu">
            <li><a href="#">添加企业</a></li>
            <li class="divider"></li>
            <li><a href="#">添加排污口</a></li>
          </ul>
        </div>
        <button type="button" class="btn btn-warning"><i class="fa fa-plus"></i>污染源</button>
        <div class="btn-group">
          <button type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i>技术资料</button>
          <ul class="dropdown-menu" role="menu">
            <li><a href="#">有机废水处理技术</a></li>
            <li class="divider"></li>
            <li><a href="#">施工工程相关信息</a></li>
            <li class="divider"></li>
            <li><a href="#">运行工程相关信息</a></li>
          </ul>
        </div>
      </div>
      
      <!-- Navbar Right Menu -->
      <div class="navbar-custom-menu">
        <ul class="nav navbar-nav">
         
          <!-- User Account Menu -->
          <li class="dropdown user user-menu">
            <!-- Menu Toggle Button -->
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <!-- The user image in the navbar-->
              <img src="__STATIC__/dist/img/avatar.png" class="user-image" alt="User Image">
              <!-- hidden-xs hides the username on small devices so only the image appears. -->
              <span class="hidden-xs">昆明理工大学</span>
            </a>
            <ul class="dropdown-menu">
              <!-- The user image in the menu -->
              <li class="user-header">
                <img src="__STATIC__/dist/img/avatar.png" class="img-circle" alt="User Image">

                <p>
                  昆明理工大学 - 管理员
                  <small>上次登录：2017-03-31 17：55：03</small>
                </p>
              </li>
              <!-- Menu Footer-->
              <li class="user-footer">
                <div class="pull-left">
                  <a href="#" class="btn btn-default btn-flat">个人资料</a>
                </div>
                <div class="pull-right">
                  <a href="#" class="btn btn-default btn-flat">退出登录</a>
                </div>
              </li>
            </ul>
          </li>
          <!-- Control Sidebar Toggle Button -->
          <li>
            <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
          </li>
        </ul>
      </div>
    </nav>
  </header>
  <!-- Left side column. contains the logo and sidebar -->
  <aside class="main-sidebar">
    <section class="sidebar">
      <div class="user-panel">
        <div class="pull-left image">
          <img src="__STATIC__/dist/img/avatar.png" class="img-circle" alt="User Image">
        </div>
        <div class="pull-left info">
          <p>昆明理工大学</p>
          <!-- Status -->
          <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
        </div>
      </div>
      <!-- Sidebar Menu -->
      <ul class="sidebar-menu">
        <li class="header">控制面板</li>
        <li class="active"><a href="<?php echo url('/'); ?>"><i class="fa fa-home"></i> <span>面板首页</span></a></li>


        <li class="header">污染源数据报送</li> 
        <li ><a href="<?php echo url('report/index'); ?>"><i class="fa fa-eye"></i><span>污染源数据报送</span></a></li>


        <li class="header">企业信息管理</li>
        <li ><a href="<?php echo url('company/index'); ?>"><i class="fa fa-vcard-o"></i> <span>企业列表</span></a></li>
        <li><a href="<?php echo url('company/outfall'); ?>"><i class="fa fa-deaf"></i> <span>排污口列表</span></a></li>
        <!-- <li class="treeview">
          <a href="#"><i class="fa fa-link"></i> <span>Multilevel</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li><a href="#">Link in level 2</a></li>
            <li><a href="#">Link in level 2</a></li>
          </ul>
        </li> -->

        <li class="header">污染源管理</li> 
        <li ><a href="<?php echo url('sources/index'); ?>"><i class="fa fa-life-ring"></i> <span>污染源列表</span></a></li>

        <li class="header">技术资料库</li>
        <li ><a href="<?php echo url('document/index',['type'=>1]); ?>"><i class="fa fa-podcast"></i> <span>处理技术</span></a></li>
        <li ><a href="<?php echo url('document/index',['type'=>2]); ?>"><i class="fa fa-building-o"></i> <span>施工工程</span></a></li>
        <li ><a href="<?php echo url('document/index',['type'=>3]); ?>"><i class="fa fa-hourglass-half"></i> <span>运行工程</span></a></li>
        <li class="header">系统设置</li>
        <li class="treeview">
          <a href="<?php echo url('norm/index'); ?>">
            <i class="fa fa-table"></i> <span>排污指标设置</span>
            <span class="pull-right-container">
              <i class="fa fa-info-circle "></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li><a href="<?php echo url('norm/index'); ?>"><i class="fa fa-tags"></i>排污指标字段</a></li>
            <li><a href="<?php echo url('norm/category'); ?>"><i class="fa fa-object-group"></i>排污指标分类</a></li>
            
          </ul>
        </li>
      </ul>
      <!-- /.sidebar-menu -->
    </section>
  </aside>
  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    
<section class="content-header">
  <h1>
    污染源管理
    <small>污染源列表</small>
  </h1>
  <ol class="breadcrumb">
    <li><a href="<?php echo url('/'); ?>"><i class="fa fa-dashboard"></i> 面板</a></li>
    <li class="active">污染源管理</li>
  </ol>
</section>
<section class="content">
    <div class="box">
        <div class="box-header">
	      <a href="<?php echo url('add'); ?>" class="btn btn-success"><i class="fa fa-plus"></i>添加污染源</a>
        </div>
        <!-- /.box-header -->
        <div class="box-body no-padding">
          <table class="table table-striped">
            <tbody>
            <tr>
              <th>ID</th>
              <th>污染源名称</th>
              <th>污染源位置</th>
              <th>流入河流</th>
              <th>流出河流</th>
              <th>操作</th>
            </tr>
            <?php if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$item): $mod = ($i % 2 );++$i;?>
            <tr>
              <td><?php echo $item['id']; ?></td>
              <td><?php echo $item['name']; ?></td>
              <td><?php echo $item['location']; ?></td>
              <td><?php echo $item['inflow']; ?></td>
              <td><?php echo $item['outflow']; ?></td>
              <td>
	              <a href="<?php echo url('edit',['id'=>$item['id']]); ?>" class="btn btn-info btn-xs"><i class="fa fa-edit"></i>编辑</a>
	              <a href="<?php echo url('delete',['id'=>$item['id']]); ?>" class="btn btn-danger btn-xs"><i class="fa fa-trash"></i>删除</a>
              </td>
            </tr>
            <?php endforeach; endif; else: echo "" ;endif; ?>

          </tbody></table>
        </div>
        <!-- /.box-body -->
      <div class="box-footer ">
         <?php echo $list->render(); ?>
      </div>
        <!-- /.box-body -->
      </div>
</section>

  </div>
  <!-- /.content-wrapper -->
    <footer class="main-footer">
    <div class="pull-right hidden-xs">
     	技术支持:<a href="http://www.solerose.com/">易朵花科技</a>
    </div>
    <strong>Copyright &copy; 2017 <a href="javascript:void(0);"><?php echo $site_name; ?></a></strong> All rights reserved.
  </footer>
  <!-- Control Sidebar -->
  <aside class="control-sidebar control-sidebar-dark">
    <!-- Create the tabs -->
    <ul class="nav nav-tabs nav-justified control-sidebar-tabs">
      <li class="active"><a href="#control-sidebar-home-tab" data-toggle="tab"><i class="fa fa-home"></i></a></li>
      <li><a href="#control-sidebar-settings-tab" data-toggle="tab"><i class="fa fa-gears"></i></a></li>
    </ul>
    <!-- Tab panes -->
    <div class="tab-content">
      <!-- Home tab content -->
      <div class="tab-pane active" id="control-sidebar-home-tab">
        <h3 class="control-sidebar-heading">Recent Activity</h3>
        <ul class="control-sidebar-menu">
          <li>
            <a href="javascript:;">
              <i class="menu-icon fa fa-birthday-cake bg-red"></i>

              <div class="menu-info">
                <h4 class="control-sidebar-subheading">Langdon's Birthday</h4>

                <p>Will be 23 on April 24th</p>
              </div>
            </a>
          </li>
        </ul>
        <!-- /.control-sidebar-menu -->

        <h3 class="control-sidebar-heading">Tasks Progress</h3>
        <ul class="control-sidebar-menu">
          <li>
            <a href="javascript:;">
              <h4 class="control-sidebar-subheading">
                Custom Template Design
                <span class="pull-right-container">
                  <span class="label label-danger pull-right">70%</span>
                </span>
              </h4>

              <div class="progress progress-xxs">
                <div class="progress-bar progress-bar-danger" style="width: 70%"></div>
              </div>
            </a>
          </li>
        </ul>
        <!-- /.control-sidebar-menu -->

      </div>
      <!-- /.tab-pane -->
      <!-- Stats tab content -->
      <div class="tab-pane" id="control-sidebar-stats-tab">Stats Tab Content</div>
      <!-- /.tab-pane -->
      <!-- Settings tab content -->
      <div class="tab-pane" id="control-sidebar-settings-tab">
        <form method="post">
          <h3 class="control-sidebar-heading">General Settings</h3>

          <div class="form-group">
            <label class="control-sidebar-subheading">
              Report panel usage
              <input type="checkbox" class="pull-right" checked>
            </label>

            <p>
              Some information about this general settings option
            </p>
          </div>
          <!-- /.form-group -->
        </form>
      </div>
      <!-- /.tab-pane -->
    </div>
  </aside>
  <!-- /.control-sidebar -->
  <div class="control-sidebar-bg"></div>
</div>

<script src="__STATIC__/plugins/jQuery/jquery-2.2.3.min.js"></script>
<script src="__STATIC__/bootstrap/js/bootstrap.min.js"></script>
<script src="__STATIC__/dist/js/app.min.js"></script>

</body>
</html>
